package cn.batch.daemon.util;

import java.io.IOException;
import java.util.Properties;

public class SleepTimeConfig {
	private static final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory
		.getLog(SleepTimeConfig.class);

	public static String SLEEPTIME_URL;
	
	static {
	try {
		Properties prop = new Properties();
		prop.load(new WebServiceUrlConfig().getClass().getResourceAsStream(
				"/watchProcessConfig.properties"));
		SLEEPTIME_URL = prop.getProperty("sleeptime");
	} catch (IOException e) {
		logger.error("", e);
		throw new RuntimeException(e);
	}
	}
}
